package com.lst.projectlib.entity;

public class News extends BaseEntity {
	/**
	 * The Id of the commodity.
	 */
	private int mId = 0;
	/**
	 * The title of the news.
	 */
	private String mTitle = null;
	/**
	 * The content of the news;
	 */
	private String mContent = null;
	/**
	 * The URL of the small picture.
	 */
	private String mSmallPictureUrl = null;
	/**
	 * The URL of the big picture.
	 */
	private String mBigPictureUrl = null;
	/**
	 * The author of the news.
	 */
	private String mNewsAuthor = null;
	/**
	 * The date of the news.
	 */
	private String mNewsDate = null;
	/**
	 * the URL of the ads.
	 */
	private String mTargetURL = null;
	
	private boolean isSelect = false;
	
	public boolean isSelect() {
		return isSelect;
	}

	public void setSelect(boolean isSelect) {
		this.isSelect = isSelect;
	}

	/**
	 * Set the Id of the commodity.
	 * 
	 * @param id
	 */
	public void setCommodityId(int id) {
		mId = id;
	}

	/**
	 * Get the Id of the commodity.
	 * 
	 * @return
	 */
	public int getCommodityId() {
		return mId;
	}

	/**
	 * Set the title of the news.
	 * 
	 * @param title
	 */
	public void setNewsTitle(String title) {
		mTitle = title;
	}

	/**
	 * Get the title of the news.
	 * 
	 * @return
	 */
	public String getNewsTitle() {
		return mTitle;
	}

	/**
	 * Set the content of the news.
	 * 
	 * @param content
	 */
	public void setNewsContent(String content) {
		mContent = content;
	}

	/**
	 * Get the content of the news.
	 * 
	 * @return
	 */
	public String getNewsContent() {
		return mContent;
	}
	
	/**
	 * Set the URL of the small picture.
	 * 
	 * @param url
	 */
	public void setSmallPictureUrl(String url) {
		mSmallPictureUrl = url;
	}

	/**
	 * Get the URL of the small picture.
	 * 
	 * @return
	 */
	public String getSmallPictureUrl() {
		return mSmallPictureUrl;
	}

	/**
	 * Set the URL of the big picture.
	 * 
	 * @param url
	 */
	public void setBigPictureUrl(String url) {
		mBigPictureUrl = url;
	}

	/**
	 * Get the URL of the big picture.
	 * 
	 * @return
	 */
	public String getBigPictureUrl() {
		return mBigPictureUrl;
	}
	
	/**
	 * Set the author of the news.
	 * 
	 * @param author
	 */
	public void setNewsAuthor(String author) {
		mNewsAuthor = author;
	}

	/**
	 * Get the author of the news.
	 * 
	 * @return
	 */
	public String getNewsAuthor() {
		return mNewsAuthor;
	}
	
	/**
	 * Set the date of the news.
	 * 
	 * @param date
	 */
	public void setNewsDate(String date) {
		mNewsDate = date;
	}

	/**
	 * Get the date of the news.
	 * 
	 * @return
	 */
	public String getNewsDate() {
		return mNewsDate;
	}

	public String getTargetURL() {
		return mTargetURL;
	}

	public void setTargetURL(String mTargetURL) {
		this.mTargetURL = mTargetURL;
	}
	
	
}
